package cn.edu.cimv.service;

import cn.edu.cimv.dao.entity.Latest;

import java.util.List;

/**
 * Created by 门铎 on 2016/6/27.
 */
public interface LatestService {
    //编辑最新动态
    void editLatest(Latest latest);
    //查询最新动态
    List<Latest> queryLatest();
    //根据id查询单条最新动态
    Latest queryLatestById(int id);
    //删除最新动态
    void deleteLatest(int id);
    //修改最新动态
    void updateLatest(Latest latest);
}
